home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
programming
/
e
/
powerd0.06
/
modules
/
hardware
/
adkbits.m
Wrap
Text File
|
1999-11-30
|
2KB
|
49 lines
/*
** $VER: adkbits.h 39.1 (18.9.92)
** Includes Release 40.15
**
** bit definitions for adkcon register
**
** (C) Copyright 1985-1993 Commodore-Amiga, Inc.
** All Rights Reserved
*/
CONST ADKB_SETCLR =15 /* standard set/clear bit */
CONST ADKB_PRECOMP1 =14 /* two bits of precompensation */
CONST ADKB_PRECOMP0 =13
CONST ADKB_MFMPREC =12 /* use mfm style precompensation */
CONST ADKB_UARTBRK =11 /* force uart output to zero */
CONST ADKB_WORDSYNC =10 /* enable DSKSYNC register matching */
CONST ADKB_MSBSYNC =9 /* (Apple GCR Only) sync on MSB for reading */
CONST ADKB_FAST =8 /* 1 -> 2 us/bit (mfm), 2 -> 4 us/bit (gcr) */
CONST ADKB_USE3PN =7 /* use aud chan 3 to modulate period of ?? */
CONST ADKB_USE2P3 =6 /* use aud chan 2 to modulate period of 3 */
CONST ADKB_USE1P2 =5 /* use aud chan 1 to modulate period of 2 */
CONST ADKB_USE0P1 =4 /* use aud chan 0 to modulate period of 1 */
CONST ADKB_USE3VN =3 /* use aud chan 3 to modulate volume of ?? */
CONST ADKB_USE2V3 =2 /* use aud chan 2 to modulate volume of 3 */
CONST ADKB_USE1V2 =1 /* use aud chan 1 to modulate volume of 2 */
CONST ADKB_USE0V1 =0 /* use aud chan 0 to modulate volume of 1 */
CONST ADKF_SETCLR =(1<<15)
CONST ADKF_PRECOMP1 =(1<<14)
CONST ADKF_PRECOMP0 =(1<<13)
CONST ADKF_MFMPREC =(1<<12)
CONST ADKF_UARTBRK =(1<<11)
CONST ADKF_WORDSYNC =(1<<10)
CONST ADKF_MSBSYNC =(1<<9)
CONST ADKF_FAST =(1<<8)
CONST ADKF_USE3PN =(1<<7)
CONST ADKF_USE2P3 =(1<<6)
CONST ADKF_USE1P2 =(1<<5)
CONST ADKF_USE0P1 =(1<<4)
CONST ADKF_USE3VN =(1<<3)
CONST ADKF_USE2V3 =(1<<2)
CONST ADKF_USE1V2 =(1<<1)
CONST ADKF_USE0V1 =(1<<0)
CONST ADKF_PRE000NS =0 /* 000 ns of precomp */
CONST ADKF_PRE140NS =ADKF_PRECOMP0 /* 140 ns of precomp */
CONST ADKF_PRE280NS =ADKF_PRECOMP1 /* 280 ns of precomp */
CONST ADKF_PRE560NS =ADKF_PRECOMP0|ADKF_PRECOMP1 /* 560 ns of precomp */